<?php
	class Admins extends CI_Controller{
		function __constructor(){
			parent::__constructor();

                }

				function index(){
					$this->mytemplate->dressing_secure('pages/index_secure',NULL);
				}

                function userdetail(){
                    
                }

                function manage_parameter(){
                        $this->mytemplate->dressing_secure('sysadmin/manage_parameter',NULL);
                }

                function messages(){
                        $this->mytemplate->dressing_secure('sysadmin/messages',NULL);
                }

                function user_role(){
                        $this->mytemplate->dressing_secure('sysadmin/user_role',NULL);
                }

                function role_management(){
                        $this->mytemplate->dressing_secure('sysadmin/role_management',NULL);
                }

                function commodity(){
                        $this->mytemplate->dressing_secure('sysadmin/commodity',NULL);
                }

                function commodity_receipt(){
                        $this->mytemplate->dressing_secure('sysadmin/commodity_receipt',NULL);
                }

                function auction(){
                        $this->mytemplate->dressing_secure('sysadmin/auction',NULL);
                }

                function set_session(){
                        $this->mytemplate->dressing_secure('sysadmin/set_session',NULL);
                }

                function set_holiday(){
					$this->mytemplate->dressing_secure('sysadmin/set_holiday',NULL);
                }
                
                function getprovince($provinceId){
					return $this->admin_model->SelectProvince($provinceId);
				}
				
				function getregency($provinceId, $regencyId=0){
					echo json_encode($this->admin_model->SelectRegency($provinceId, $regencyId));
				}






		
	}
/* End of file admins.php */
/* Location: ./application/controllers/admins.php */
